package com.asset.dispoal.file.document.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@Data
public class DocumentTypeAddRequest {

    @ApiModelProperty("类型名称")
    private String name;

    @ApiModelProperty("类型下通用文件，如果不传则在里面找")
    private MultipartFile file;

    @ApiModelProperty("排序值")
    private Integer sorted;

    private List<DocumentTypeItemAddRequest> itemList;
}
